﻿using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.DataBaseCommon;
using WomanMotion.WebApi.Model.Dtos.Contents;
using WomanMotion.WebApi.Model.Dtos.Match;
using WomanMotion.WebApi.Model.Entitys;
using WomanMotion.WebApi.Repository.IRepository;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    public class ContentsService : BaseCRUDService<Contents, ContentsVM, UpdateContentsDTO, CreatedContentsDTO>, IContentsService
    {
        private readonly IContentsRepository _contentsRepository;

        public ContentsService(ILogger<ContentsService> logger, IMapper mapper, IContentsRepository contentsRepository, IHttpContextAccessor httpContext) : base(logger, mapper, contentsRepository, httpContext)
        {
            _contentsRepository = contentsRepository;
        }
    }
}